home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
apps
/
gmemusage
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-08-01
|
503b
|
24 lines
#!smake
include ${ROOT}/usr/include/make/commondefs
CFILES=gmemusage.c draw.c inode.c print.c process.c
LCOPTS=-fullwarn
TARGETS=gmemusage
LLDLIBS=-lgl
LLDOPTS=-Wl,-T,7FC00000,-D,7FC40000
default all: ${TARGETS}
include ${COMMONRULES}
#
# gmemusage must be setuid root in order to be able to read /proc entries
# for processes not owned by the person running
#
install: ${TARGETS}
${INSTALL} -F /usr/local/bin -m 4755 gmemusage
gmemusage : ${OBJECTS}
rm -f $@
${CCF} ${OBJECTS} ${LDFLAGS} -o $@